home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Tool Chest / Interfaces / Universal Interfaces 2.0a3 / Universal AIncludes / Terminals.a < prev    next >
Encoding:
Text File  |  1994-11-11  |  3.1 KB  |  137 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        Terminals.a
  3. ;
  4. ;    Copyright:    © 1984-1994 by Apple Computer, Inc.
  5. ;                All rights reserved.
  6. ;
  7. ;    Version:    Universal Interfaces 2.0a3  ETO #16, MPW prerelease.  Friday, November 11, 1994. 
  8. ;
  9. ;    Bugs?:        If you find a problem with this file, send the file and version
  10. ;                information (from above) and the problem description to:
  11. ;
  12. ;                    Internet:    apple.bugs@applelink.apple.com
  13. ;                    AppleLink:    APPLE.BUGS
  14. ;
  15. ;
  16.  
  17.     IF &TYPE('__TERMINALS__') = 'UNDEFINED' THEN
  18. __TERMINALS__ SET 1
  19.  
  20.  
  21.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  22.     include 'Dialogs.a'
  23.     ENDIF
  24. ;        include 'Errors.a'                                            ;
  25. ;            include 'ConditionalMacros.a'                            ;
  26. ;        include 'Memory.a'                                            ;
  27. ;            include 'Types.a'                                        ;
  28. ;            include 'MixedMode.a'                                    ;
  29. ;        include 'Windows.a'                                        ;
  30. ;            include 'Quickdraw.a'                                    ;
  31. ;                include 'QuickdrawText.a'                            ;
  32. ;            include 'Events.a'                                        ;
  33. ;                include 'OSUtils.a'                                ;
  34. ;            include 'Controls.a'                                    ;
  35. ;                include 'Menus.a'                                    ;
  36. ;        include 'TextEdit.a'                                        ;
  37.  
  38.     IF &TYPE('__CTBUTILITIES__') = 'UNDEFINED' THEN
  39.     include 'CTBUtilities.a'
  40.     ENDIF
  41. ;        include 'StandardFile.a'                                    ;
  42. ;            include 'Files.a'                                        ;
  43. ;        include 'AppleTalk.a'                                        ;
  44.  
  45.     IF &TYPE('__CONNECTIONS__') = 'UNDEFINED' THEN
  46.     include 'Connections.a'
  47.     ENDIF
  48.  
  49. ; current Terminal Manager version     
  50. curTMVersion                    EQU        2
  51. ; current Terminal Manager Environment Record version     
  52. curTermEnvRecVers                EQU        0
  53. ; error codes    
  54. tmGenericError                    EQU        -1
  55. tmNoErr                            EQU        0
  56. tmNotSent                        EQU        1
  57. tmEnvironsChanged                EQU        2
  58. tmNotSupported                    EQU        7
  59. tmNoTools                        EQU        8
  60.  
  61. tmInvisible                        EQU        1 << 0
  62. tmSaveBeforeClear                EQU        1 << 1
  63. tmNoMenus                        EQU        1 << 2
  64. tmAutoScroll                    EQU        1 << 3
  65. tmConfigChanged                    EQU        1 << 4
  66.  
  67. selTextNormal                    EQU        1 << 0
  68. selTextBoxed                    EQU        1 << 1
  69. selGraphicsMarquee                EQU        1 << 2
  70. selGraphicsLasso                EQU        1 << 3
  71. tmSearchNoDiacrit                EQU        1 << 8
  72. tmSearchNoCase                    EQU        1 << 9
  73.  
  74. cursorText                        EQU        1
  75. cursorGraphics                    EQU        2
  76.  
  77. tmTextTerminal                    EQU        1 << 0
  78. tmGraphicsTerminal                EQU        1 << 1
  79.  
  80. TermDataBlock             RECORD    0
  81. flags                     ds.w    1
  82. theData                     ds.l    1
  83. auxData                     ds.l    1
  84. reserved                 ds.l    1
  85. sizeof                     EQU    14
  86.                         ENDR
  87.  
  88. TermEnvironRec             RECORD    0
  89. version                     ds.w    1
  90. termType                 ds.w    1
  91. textRows                 ds.w    1
  92. textCols                 ds.w    1
  93. cellSize                 ds        Point
  94. graphicSize                 ds        Rect
  95. slop                     ds        Point
  96. auxSpace                 ds        Rect
  97. sizeof                     EQU    32
  98.                         ENDR
  99.  
  100. TMSelection             RECORD    0
  101. VariantLevel0Begin        EQU    *
  102. selRect                     ds        Rect
  103.                         ORG        VariantLevel0Begin
  104. selRgnHandle             ds.l    1
  105. sizeof                     EQU    8
  106.                         ENDR
  107.  
  108. TermRecord                 RECORD    0
  109. procID                     ds.w    1
  110. flags                     ds.l    1
  111. errCode                     ds.w    1
  112. refCon                     ds.l    1
  113. userData                 ds.l    1
  114. defProc                     ds.l    1
  115. config                     ds.l    1
  116. oldConfig                 ds.l    1
  117. environsProc             ds.l    1
  118. reserved1                 ds.l    1
  119. reserved2                 ds.l    1
  120. tmPrivate                 ds.l    1
  121. sendProc                 ds.l    1
  122. breakProc                 ds.l    1
  123. cacheProc                 ds.l    1
  124. clikLoop                 ds.l    1
  125. owner                     ds.l    1
  126. termRect                 ds        Rect
  127. viewRect                 ds        Rect
  128. visRect                     ds        Rect
  129. lastIdle                 ds.l    1
  130. selection                 ds.l    2
  131. selType                     ds.w    1
  132. mluField                 ds.l    1
  133. sizeof                     EQU    106
  134.                         ENDR
  135.  
  136.     ENDIF ; __TERMINALS__
  137.